package com.ant.storage.vo;

import com.ant.storage.dto.SupplierListDto;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author hzd
 * @version 1.0
 * @date 2022/4/15 15:22
 */
@Data
public class CommodityVo {

    @ApiModelProperty(value = "采购单id")
    @JsonInclude(value= JsonInclude.Include.NON_NULL)
    private Integer subscribeId;

    @ApiModelProperty(value = "申请id")
    @JsonInclude(value= JsonInclude.Include.NON_NULL)
    private Integer goodsPoolId;

    @ApiModelProperty(value = "库存id")
    @JsonInclude(value= JsonInclude.Include.NON_NULL)
    private Integer inventoryId;

    @ApiModelProperty(value = "采购单物品id")
    @JsonInclude(value= JsonInclude.Include.NON_NULL)
    private Integer purchaseOrdersId;

    @ApiModelProperty(value = "申请物品关联id")
    @JsonInclude(value= JsonInclude.Include.NON_NULL)
    private Integer goodsPoolCommodityId;

    @ApiModelProperty(value = "数量")
    @JsonInclude(value= JsonInclude.Include.NON_NULL)
    private String commodityAmount;

    @ApiModelProperty(value = "入库数量")
    @JsonInclude(value= JsonInclude.Include.NON_NULL)
    private String commodityNumber;

    @ApiModelProperty(value = "")
    @JsonInclude(value= JsonInclude.Include.NON_NULL)
    private String commodityUnitPrice;

    @ApiModelProperty(value = "连接")
    @JsonInclude(value= JsonInclude.Include.NON_NULL)
    private String  commodityLinks;

    @ApiModelProperty(value = "物品id")
    @JsonInclude(value= JsonInclude.Include.NON_NULL)
    private Integer commodityId;

    @ApiModelProperty(value = "采购单号")
    @JsonInclude(value= JsonInclude.Include.NON_NULL)
    private String  ordersNumber;

    @ApiModelProperty(value = "物品名称")
    @JsonInclude(value= JsonInclude.Include.NON_NULL)
    private String  commodityName;

    @ApiModelProperty(value = "单位")
    @JsonInclude(value= JsonInclude.Include.NON_NULL)
    private String  commodityUnits;

    @ApiModelProperty(value = "规格")
    @JsonInclude(value= JsonInclude.Include.NON_NULL)
    private String  commoditySpecification;

    @ApiModelProperty(value = "图片")
    @JsonInclude(value= JsonInclude.Include.NON_NULL)
    private String  commodityPicture;

    @ApiModelProperty(value = "类型")
    @JsonInclude(value= JsonInclude.Include.NON_NULL)
    private Integer commodityType;

    @ApiModelProperty(value = "供应商id")
    @JsonInclude(value= JsonInclude.Include.NON_NULL)
    private Integer supplierId;

    @ApiModelProperty(value = "物品价格")
    @JsonInclude(value= JsonInclude.Include.NON_NULL)
    private BigDecimal commodityPrice;

    @ApiModelProperty(value = "总价")
    @JsonInclude(value= JsonInclude.Include.NON_NULL)
    private BigDecimal goodsTotalPrice;


    @ApiModelProperty(value = "支付类型")
    @JsonInclude(value= JsonInclude.Include.NON_NULL)
    private Integer  payType;

    @ApiModelProperty(value = "支付方式")
    @JsonInclude(value= JsonInclude.Include.NON_NULL)
    private Integer paymentMethod;

    @ApiModelProperty(value = "采购渠道")
    private Integer  channel;

    @ApiModelProperty(value = "部门id")
    @JsonInclude(value= JsonInclude.Include.NON_NULL)
    private Integer DepartmentId;

    @ApiModelProperty(value = "采购人员id")
    @JsonInclude(value= JsonInclude.Include.NON_NULL)
    private Integer purchaserId;

    @ApiModelProperty(value = "采购物品状态")
    @JsonInclude(value= JsonInclude.Include.NON_NULL)
    private Integer goodsStatus;

    @ApiModelProperty(value = "库存价格")
    @JsonInclude(value= JsonInclude.Include.NON_NULL)
    private BigDecimal goodsPrice;

    @ApiModelProperty(value = "库存数量")
    @JsonInclude(value= JsonInclude.Include.NON_NULL)
    private String goodsAmount;

    @ApiModelProperty(value = "供应商信息")
    @JsonInclude(value= JsonInclude.Include.NON_NULL)
    private List<SupplierListDto> supList;

    @ApiModelProperty(value = "备注")
    @JsonInclude(value= JsonInclude.Include.NON_NULL)
    private String remark;
}
